package this1;

import private1.Student;

public class This {
        public static void main(String[] args) {
                Student s1 =new Student();
                Student s2 =new Student();
                s1.setName("林青霞");
                s1.setAge(30);
                s1.show();
                System.out.println("--------------");
                s2.setName("姜恒星");
                s2.setAge(18);
                s2.show();
                //方法被哪个成员变量调用，哪个方法里面的this就代表那个对象（堆内存里就是那个成员变量）
        }

}
